package com.dayu.sale.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

/**
 * 版本3 --- 出售商品信息对象 dy_sale_goods
 *
 * @author HK
 * @date 2024-01-10
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class DySaleGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 账单id */
    @Excel(name = "账单id")
    private Long billId;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 规格 */
    @Excel(name = "规格")
    private String specs;

    /** 验机报告 */
    @Excel(name = "验机报告")
    private String testInfo;

    /** 成本价格 */
    @Excel(name = "成本价格")
    private BigDecimal costPrice;

    /** 销售金额 */
    @Excel(name = "销售金额")
    private BigDecimal salePrice;

    /** 是否退货 */
    @Excel(name = "是否退货 0=否，1=是")
    private Integer hasRefund;

    private String goodsSn;
}
